From: Matthias Clasen Date: Sat, 25 Mar 2023 19:27:23 +0000 (-0400) Subject: Tweak X-Git-Tag: archive/raspbian/4.12.3+ds-1+rpi1~1^2^2^2~59^2^2~502^2~3 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=1e5dd5db71582571d0554cdd3125d09fd4a56eb6;p=gtk4.git Tweak --- diff --git a/docs/reference/gtk/coordinates.md b/docs/reference/gtk/coordinates.md index a1fc478cb2..be1d281961 100644 --- a/docs/reference/gtk/coordinates.md +++ b/docs/reference/gtk/coordinates.md @@ -3,15 +3,15 @@ Slug: gtk-coordinates ## Coordinate systems in GTK -Every widget in a window has its own coordinate system that it uses to place its -child widgets and to interpret events. Most of the time, this fact can be safely -ignored. The section will explain the details for the few cases when it is important. - All coordinate systems in GTK have the origin at the top left, with the X axis pointing right, and the Y axis pointing down. This matches the convention used in X11, Wayland and cairo, but differs from OpenGL and PostScript, where the origin is in the lower left, and the Y axis is pointin up. +Every widget in a window has its own coordinate system that it uses to place its +child widgets and to interpret events. Most of the time, this fact can be safely +ignored. The section will explain the details for the few cases when it is important. + ## The box model When it comes to rendering, GTK follows the CSS box model as far as practical.